package com.anjufang.service.system.impl;

import com.anjufang.entity.SourceHouse;
import com.anjufang.entity.SourceUser;
import com.anjufang.mapper.SourceHouseMapper;
import com.anjufang.mapper.SourceUserMapper;
import com.anjufang.service.system.SourceDataHouseService;
import com.anjufang.utils.Result;
import com.anjufang.utils.page.Query;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SourceDataHouseServiceImpl implements SourceDataHouseService {
	
	@Autowired
	private SourceHouseMapper sourceHouseMapper;


	@Override
	public List<SourceHouse> queryList(Query query) {
		return sourceHouseMapper.queryList(query);
	}

	@Override
	public int queryTotal(Query query) {
		return sourceHouseMapper.queryTotal(query);
	}

}

